#ifndef _WIFI_H
#define _WIFI_H
#include <string.h>
#include "usart.h"
extern uint8_t USART2_RxBuff[1024];
extern uint8_t USART2_RxCounter;
#define WiFi_RxCounter    USART2_RxCounter    
#define WiFi_RX_BUF       USART2_RxBuff 

#define ID   "ZGL"                     
#define PASSWORD   "11111111" 

#define ServerIP   "172.20.10.8"                     
#define ServerPort   8877 


char WIFI_Config0(int time);
char WIFI_Config(int time,char*cmd,char*response);
char WIFI_Router(int time);
char WIFI_ConnectTCP(int time);
void WIFI_Connect(void);
void ESP8266_Clear(void);
#endif
